#{extends 'main.html' /}
#{set title:'Relationship Creaition Among Tags' /}

#{homeTitle titleName:'Create Relationship Among Tags'/}

<form action="@{relationships.newRelationshipTags()}" method="GET">

	#{if flash.error}
	<p style="color:#c00">
		${flash.error}
	</p>
	#{/if}

	<input type="hidden" name="" />
	<br />
	<br />
	Relationship Name
	<input type="text" name="" />

	<br />
	<br />

	Tag Source
	<select  name="tagSource">
		<ul>
			#{list items:tagsList, as:'tag'}
			<li>

				<option value="new">${tag}</option>
			</li>
			#{/list}
		</ul>
	</select>
	<br />
	<br />

	Tag Destination
	<select  name="tagDestination">
		<ul>
			#{list items:tagsList, as:'tag'}
			<li>

				<option value="new">${tag}</option>
			</li>
			#{/list}
		</ul>
	</select>
	<br />
	<br />

	<input type="submit" value="Submit" name = "Submit" />
	<br />
	<br />
	<br />

	<a href="@{Application.index()}">Home Page</a>
	<a href="@{Relationships.relationshipHome()}">Back to Relationships </a>
</form>